#!/bin/bash
cd $(dirname "$0")
git pull
go build -o k8sdevindex ./main/index.go
ver=$(date "+%Y%m%d%H%M")
echo "${ver}"
docker build -t harbor.dehow.com/dehow/k8sdev:v"${ver}" .
rm -f k8sdevindex
docker images